package com.itqf.service;


import com.github.pagehelper.PageInfo;
import com.itqf.bean.DtsAdmin;
import com.itqf.dto.AdminDto;

/**
 * projectName: store_parent
 *
 * @author: 赵伟风
 * time: 2021/6/8 10:26
 * description:dtsadmin后台管理用户的service服务
 */
public interface DtsAdminService {


    /**
     * 根据用户名,查询对应的用户!
     * @param username
     * @return
     */
    DtsAdmin  findAdminByUserName(String username);

    PageInfo<DtsAdmin> findAdminByPage(AdminDto adminDto);

    int removeAdminById(Integer id);

    int updateAdminById(DtsAdmin dtsAdmin);

    int saveAdmin(DtsAdmin dtsAdmin);
}
